## Build Servicce Jar #################################

LOCAL_PATH:= $(call my-dir)

## Build Apk #################################

include $(CLEAR_VARS)
LOCAL_PROGUARD_ENABLED := disabled 
LOCAL_MODULE_TAGS := optional

LOCAL_CERTIFICATE := platform
LOCAL_SRC_FILES := $(call all-java-files-under, src)
LOCAL_AIDL_INCLUDES := src/com/ingenic/glass/camera/util
LOCAL_STATIC_JAVA_LIBRARIES := glasssync.services VoiceRecognizerAPI jsonlib
LOCAL_PACKAGE_NAME := MySight
#LOCAL_SDK_VERSION := current

# LOCAL_JNI_SHARED_LIBRARIES := libjni_mosaic

# LOCAL_REQUIRED_MODULES := libjni_mosaic

include $(BUILD_PACKAGE)

###### Build static library jars. ######
include $(CLEAR_VARS)
LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := jsonlib:libs/json-lib-2.1.jar glasssync.services:libs/sync_services.jar
include $(BUILD_MULTI_PREBUILT)
